Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Conversation

@faem
Copy link
Contributor

@faem faem commented May 21, 2019

General:

  • Have you removed all sensitive information, including but not limited to access keys and passwords?
  • Have you checked to ensure there aren't other open or closed pull requests for the same bug/feature/question?
  • Have you followed our pull request guidelines?

@faem faem force-pushed the add-multi-master branch from 07a607f to ba06dff Compare May 21, 2019 11:29
@faem faem changed the title Add multi master Add High Availability Support May 21, 2019
@faem faem changed the title Add High Availability Support [WIP] Add High Availability Support May 22, 2019
@faem faem changed the title [WIP] Add High Availability Support Add High Availability Support May 22, 2019
@faem
Copy link
Contributor Author

faem commented May 22, 2019

Sample cluster.tf

variable "server_type_node" {
  default = "g6-standard-2"
}
variable "nodes" {
  default = 1
}
variable "server_type_master" {
  default = "g6-standard-2"
}
variable "region" {
  default = "eu-west"
}
variable "ssh_public_key" {
  default = "/home/fahim/.ssh/id_rsa.pub"
}
module "k8s" {
  source  = "git::https://github.com/faem/terraform-linode-k8s.git?ref=add-multi-master"
  #source  = "../../terraform-linode-k8s" 
  k8s_version = "v1.14.0"
  linode_token = "LINODE_TOKEN"
  server_type_node = "${var.server_type_node}"
  addl-masters = "2"
  nodes = "${var.nodes}"
  server_type_master = "${var.server_type_master}"
  region = "${var.region}"
  ssh_public_key = "${var.ssh_public_key}"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants